package com.accenture.struts2.interceptor;

import com.opensymphony.xwork2.ActionInvocation;
import com.opensymphony.xwork2.interceptor.Interceptor;

public class UserSessionInterceptor implements Interceptor  {

	public static final long serialVersionUID = 6004293069171176004L;

	@Override
	public String intercept(ActionInvocation actionInvocation)throws Exception{
		
		System.out.println("My first interceptor");
		
		String result = actionInvocation.invoke();
		
		return result;
	}

	@Override
	public void destroy() {
		
	}

	@Override
	public void init() {
		
	}
	
}
